package ooday01;

/**
 * 构造方法的演示
 */
public class ConsDemo {
    public static void main(String[] args) {
        Student s = new Student("YiYi",20,2,"abc");
        Student s1 = new Student();
        Student s2 = new Student("crisp",21);
        System.out.println(s2);
        System.out.println(s1);
        System.out.println(s);

    }
}
